package com.ithema.compareoperator;

public class CompareOperatorDemo1 {
    public static void main(String[] args) {
        //1.== 判断左右两边是否相等
        int a = 10;
        int b = 10;
        int c = 20;
        System.out.println(a == b);//true
        System.out.println(a == c);//false

        //!+ 判断左右连边是否不相等
        System.out.println(a != b);//false
        System.out.println(a != c);//true
    }
}
